import request from '@/utils/request'
import qs from 'qs'

export function orderList(newData) {
  const data = {
    ...newData
  }
  return request({
    url: `/admin/order/find`,
    method: 'post',
    data: qs.stringify(data)
  })
}
export function commissionList(newData) {
  const data = {
    ...newData
  }
  return request({
    url: `/admin/commission/find`,
    method: 'post',
    data: qs.stringify(data)
  })
}
